//Stephen Kirksharian
//Robert Harkreader
//CPSC 321
//DUE 4/27/08

//This will check the JR with RTYPE

`define JR 6'b001000
`define RTYPE 6'b000000

module jump_register_ctr(opcodes,funct,control);

	input [5:0]funct,opcodes;
	output control;

	reg control;

always @(funct) begin
	if(funct==`JR && opcodes==`RTYPE) control=1;
	else control=0;
end
endmodule